#include<stdio.h>

int main()
{
	int n,s;
	while (scanf("%d",&n)==1)
		s+=n;
	printf("%d\n",s);
	return 0;
}
